//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/.
// 			VisualNovelToolkit		     /_/_/_/_/_/.
// Copyright ©2013 - Sol-tribe.	/_/_/_/_/_/_/_/_/_/.
//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/.
using UnityEngine;
using System.Collections;

/// <summary>
/// Game State Save Data.
/// </summary>
[ System.Serializable ]
public class ViNoSaveData{
	// Level Info.
	public int 		m_LoadedLevelIndex;
	public string m_LoadedLevelName  = string.Empty;	
	
	public string m_CurrentScenarioName  = string.Empty;	// Recently Played Scenario Name.
	
	// VM Serialization Info.
	public string m_NodeName = string.Empty;				// Current Node Name.
	
	// Scene XML Node data Info.
	public string m_SceneXmlData  = string.Empty;			// Scene Xml Node Data.
	
	// BGM Info.
	public string m_BgmName  = string.Empty;					// Current BGM Name.		

	// Resource Name.
//	public string m_ScenarioResourceFilePath  = string.Empty;

	// Date string.
	public string m_Date  = string.Empty;

	// Scenario String.
	public string m_ScenarioDescription  = string.Empty;
}

/// <summary>
/// Save data asset. used also New game info.
/// </summary>
[ System.Serializable ]
public class ViNoSaveInfo : ScriptableObject {
	// Level Info.
	public int 		m_LoadedLevelIndex;
	public string m_LoadedLevelName  = string.Empty;	
	
	public string m_CurrentScenarioName  = string.Empty;	// Recently Played Scenario Name.
	
	// VM Serialization Info.
	public string m_NodeName = string.Empty;				// Current Node Name.
	
	// Scene XML Node data Info.
	public string m_SceneXmlData  = string.Empty;			// Scene Xml Node Data.
	
	// BGM Info.
	public string m_BgmName  = string.Empty;					// Current BGM Name.

//	public string m_ScenarioResourceFilePath  = string.Empty;
	
	public string m_Date  = string.Empty;

	public string m_ScenarioDescription  = string.Empty;

	public void ClearData(){
		m_LoadedLevelIndex = 0;
		m_LoadedLevelName = string.Empty;
		m_CurrentScenarioName = string.Empty;
		m_NodeName = string.Empty;
		m_SceneXmlData  = string.Empty;
		m_BgmName  = string.Empty;
//		m_ScenarioResourceFilePath = string.Empty;
		m_Date = string.Empty;
		m_ScenarioDescription = string.Empty;
	}
}
